#ifndef __CALL_PY_H__
#define __CALL_PY_H__
#include <python3.5/Python.h>
//车牌识别
//2021-5-7

//python对象
struct python_obj{
    PyObject *p_Module;
    PyObject *p_Fun;
    PyObject *p_Args;
    PyObject *p_Ret;
    char *car_id;
};

//python对象初始化
struct python_obj* python_init(struct python_obj *pobj);
//调用python车牌识别函数
struct python_obj* python_call(struct python_obj *pobj,const char *filename);


//销毁python对象
#define python_destory Py_Finalize

#endif